GDK-Win32/4.0: Improve GL on Windows
authorChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 14 Oct 2016 11:04:49 +0000 (19:04 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 28 Oct 2016 07:56:49 +0000 (15:56 +0800)
commitb960008955a58146735b3d4ae6d241b401bc2206
tree43568407de77a9262688cd2d96adba2ef27c48d2
parentfcecec1a9da0188805888e87b7e5db5d79897af4
GDK-Win32/4.0: Improve GL on Windows

Update the GDKGL implementation:

-Allow legacy contexts to be created.
-Use finer-grained attributes to ask for a pixel format when possible,
 which also adds support for anti-aliasing

In fact the changes here are required for GTKGL to work properly on
Windows for 4.x.

Note that creation of gles contexts is not done here, as the system does
not support such contexts directly on Windows, but only through means such
as ANGLE, which is a totally different issue here.

https://bugzilla.gnome.org/show_bug.cgi?id=773528
gdk/win32/gdkdisplay-win32.h
gdk/win32/gdkglcontext-win32.c